This file is part of WordPress theme named Manduca - focus on accessibility.

Copyright (C) 2015-2021  Zsolt Edelényi (ezs@web25.hu)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
in /assets/docs/licence.txt.  If not, see <https://www.gnu.org/licenses/>.

********************************************************************************************
                                 List of Hooks 
********************************************************************************************

Data filters:
-------------
manduca_focus_snail_color       : Modify the color of focus-snake
manduca_js_variables            : Modify the js variables
                                 e.g add default reading options
                                 like 'reading_options'=> array( 'link-appearance' => 1)
manduca_toolbar_info_button     : Add info to the button in reading options block. | located: template-parts/header/toolbar-buttons.php
manduca_post_meta               : Add meta information to the end of post-meta | located: template-parts/posts/post-meta.php
manduca_svg_icons               : Filter svg icon array before put it into global variable | located: Define_Globals class.
manduca_extension_array         : Filter the aria label texts and icons added to the links | located: class-link-functions.php
manduca_url_scheme_array        : Filter the aria label texts and icons added to the links | located: class-link-functions.php
manduca_link_rel                : Filter the rel attributes of external links. | since 19.1 | located: class-add-nofollow-to-links.php
excerpt_length                  : Depretiated, instead use function variable of Manduca_Template_Function::get_the_excerpt ()
manduca_content_date            : Filter of content date of the entry header | located postes/entry-header.php
manduca_header_image_args       : Filter the arguments of header image (custom-header)


Boolean filters:
----------------
manduca_enable_link_functions   : Enable/disable link function in child theme | filters\Controller 

Action hooks:
-------------
manduca_after_single_page       : All page template has this hook before footer 
manduca_after_single_post       : add output after single post before comment
manduca_after_body_snippet      : Add snippet just after the <body> tag* e.g. Google tag manager, Facebook page plugin.
manduca_after_footer            : will be depretiated. Do not use
manduca_post_subtitle           : After the title of post. | located: template-parts/posts/entry-header.php


********************************************************************************************
                                 HOW TO  
********************************************************************************************

... Add new SVG icons
      - use SVG icon filter: manduca_icon ( string $icon_name, bool $display=true)

... add new svg icons.
      Use filter 'manduca_svg_icons' Input parameter is Manduca svg icons, and you can extend it with yours.
      
... change breadcrumb parameters
      - copy breadcrumb-template file to the child theme's template-parts/header directory and change the parameters in it.
      - or - if you are familiar with PHP programming: extend the breadcrumb class.
      
... add namespace in child theme in order to avoid nam confusions:
      add the namesepace as a key to Manduca_Classloader. e.g 'Web25\\childtheme' => get_stylesheet_directory() .'/inc/'

...Use Adobe accessible megamenu (depretiated in 20.7) instead of WAI menubar (since 20.7):
      change the menu_type to 1  in template-parts/header/menu.php

... In excerpt if no thumbnail set, add thumbnail of the first image of the post:
        Manduca\Helpers\Images::has_thumbnail ( TRUE )